<div class="peopleProblems form">
<?php echo $this->Form->create('PeopleProblem');?>
	<fieldset>
 		<legend><?php __('Modificar el Problema asociado al Paciente'); ?></legend>
	<?php
		echo $this->Form->input('id');
		echo $this->Form->input('person_id',array( 'type' => 'hidden', 'value' => $id_paciente));
		echo $this->Form->input('problem_id',array( 'label' => 'Problema', 'disabled' => 'true'));
		echo $this->Form->input('stateproblem_id',array( 'label' => 'Estado Actual del Problema'));
		echo $this->Form->input('fecha_origen',array( 'label' => 'Fecha de Origen', 'disabled' => 'true'
                                    , 'dateFormat' => 'DMY'
                                    , 'minYear' => date('Y') - 80
                                    , 'maxYear' => date('Y') ));
		echo $this->Form->input('tag_id',array( 'label' => 'Etiquetar', 'empty' => true));
	?>
	</fieldset>
	<table cellpadding="0" cellspacing="0">
	<tr>
		<td><?php echo $this->Form->end(__('Modificar', true));?></td>
		<td><br><br><?php echo $this->Html->link("Cancelar","/people/view/".$id_paciente."/2",array('escape' => false, 'class' => 'link_cancelar') );?></td>
	</tr>
	</table>
</div>
